package com;

public class dome1 {
    public String band;
    public int price;
    public int number;

    public void opean(){
        System.out.println("开机");
    }

    public String getBand() {
        return band;
    }

    public void setBand(String band) {
        this.band = band;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public  void off(){
        System.out.println("关机");

    }

    public dome1(String band, int price, int number) {
        this.band = band;
        this.price = price;
        this.number = number;
    }

    @Override
    public String toString() {
        return "dome1{" +
                "band='" + band + '\'' +
                ", price=" + price +
                ", number=" + number +
                '}';
    }
}
